﻿<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:s="http://www.codeplex.com/MSSqlSchemaDoc">

  <xsl:import href="Index.xsl"/>
  <xsl:param name="DocumentationFile"/>

  <xsl:template match="s:Indexes">

    <tr>
      <td colspan="2" class="descriptionHeader center">
        Indexes:
      </td>
    </tr>

    <tr>
      <td colspan="2">
        <table width="100%">
          <tr class="center tableHeader">
            <td></td>
            <td>Type</td>
            <td>IsUnique</td>
            <td>IgnoreDuplicateKey</td>
            <td>IsPrimaryKey</td>
            <td>IsUniqueConstraint</td>
            <td>FillFactor</td>
            <td>IsPadded</td>
            <td>IsDisabled</td>
            <td>IsHypothetical</td>
            <td>AllowRowLocks</td>
            <td>AllowPageLocks</td>
            <td>Filter</td>
            <td>Columns</td>
          </tr>

          <xsl:for-each select="s:Index">
            <xsl:apply-templates select="."/>            
          </xsl:for-each>

        </table>
      </td>
    </tr>


  </xsl:template>

</xsl:stylesheet>